package com.ayitubie.refuelweb.enumerate;

public enum PayType {
    WECHAT("wechat", "http://wexin.com"),
    ALIPAY("alipay", "http://alibaba.com"),
    CARD("card", "http://citic.com"),
    CASH("cash", "");

    private String name;
    private String payUrl;

    private PayType() {

    }

    private PayType(String name, String payUrl) {
        this.name = name;
        this.payUrl = payUrl;
    }

    public String getName() {
        return this.name;
    }

    public String getPayUrl() {
        return this.payUrl;
    }
}